
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"


echo "Table 1 -- datasets are selected by heuristics (I)"
DD_BOUND_THRESHOLD=999  # i.e., not used
SPLIT0_FILE=${CURRENT_DIR}/output/split0.csv
SPLIT1_FILE=${CURRENT_DIR}/output/split1.csv
Rscript ${CURRENT_DIR}/analysis/evaluate_bounds.R ${DD_BOUND_THRESHOLD} ${SPLIT0_FILE} ${SPLIT1_FILE}
echo ""


echo "Table 2 -- datasets are selected by heuristics (I) and (II)"
DD_BOUND_THRESHOLD=0.7
SPLIT0_FILE=${CURRENT_DIR}/output/split0.csv
SPLIT1_FILE=${CURRENT_DIR}/output/split1.csv
Rscript ${CURRENT_DIR}/analysis/evaluate_bounds.R ${DD_BOUND_THRESHOLD} ${SPLIT0_FILE} ${SPLIT1_FILE}
echo ""
